class BaseResponse {
  int code;
  String? message;

  BaseResponse({required this.code, this.message});
}

class SimpleResponse extends BaseResponse {
  SimpleResponse({
    required super.code,
    super.message,
  });

  factory SimpleResponse.fromJson(Map<String, dynamic> json) {
    return SimpleResponse(
      code: json['code'],
      message: json['message'],
    );
  }
}
